<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Errors extends MY_Controller {

    function __construct() 
    {
        parent::__construct();
    }
    
    function notFound()
    {
        $data['title'] = '404';
        $data['template'] = '404';
        $this->output->set_status_header('404');
        $this->load->view('template', $data);
    }
    
    function noPrivileges()
    {
        $data['title'] = 'Not Authorised';
        $data['template'] = 'no_privileges';
        
        $this->load->view('template', $data);
    }
    
    function inactiveAccount()
    {
        $data['title'] = 'Inactive Account';
        $data['template'] = 'inactive_account';
        
        $this->load->view('template', $data);
    }
}

/* End of file errors.php */
/* Location: ./application/controllers/errors.php */